package com.fan.analysis.module.show.domain.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 通话记录
 *
 * @author fan
 * @date 2021/10/18 18:38
 **/
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CallRecordVo {

    private String callingNum;
    private String calledNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间，格式：yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    private String lastTime;

    private String city;
}
